package com.hanhai.material.device.model.excel;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * Title: <br>
 * Description: <br>
 * Copyright: Copyright (c) 2024<br>
 * Company: 四川瀚海精密制造有限公司<br>
 *
 * @author youchuang
 * @version 1.0
 * @date 2024-10-07 14:20
 */
@ExcelIgnoreUnannotated
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductBadDataExcel {
    @ExcelProperty("生产日期")
    @Column("product_date")
    private LocalDate productDate;

    private String workPlanId;

    @ExcelProperty("白夜班别")
    @Column("shift")
    private String shift;

    @ExcelProperty("生产班别")
    @Column("shift_code")
    private String shiftCode;

    @ExcelProperty("生产组别")
    private String groupName;

    @ExcelProperty("机台编号")
    private String machineName;

    @ExcelProperty("线长/多能工")
    private String lineManager;

    @ExcelProperty("技术员")
    private String technician;

    @ExcelProperty("产品料号")
    private String productId;

    @ExcelProperty("总生产数")
    private Integer totalCount;
    @ExcelProperty("良品数")
    private Integer goodNumPeople;
    @ExcelProperty("不良品数")
    private Integer badNumPeople;
    @ExcelProperty("不良率")
    private String badRate;
}
